module.exports = {
  lintOnSave: false,
  configureWebpack: {

    externals: {
      'BMapGL': 'BMapGL' // 高德地图配置
    }
  },
  devServer: {
    open: process.platform === 'darwin',
    host: '0.0.0.0',
    port: 8088  ,
    https: false,
    hotOnly: false,
    proxy: null, // 设置代理
    before: app => {}
  },
  publicPath: process.env.NODE_ENV === 'production'
    ? './'
    : '/',
  // 输出文件目录
  outputDir: 'dist',
  assetsDir:'static'
}

